
<!DOCTYPE HTML>
<html lang="en" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>7.2 Loot table · 命令进阶</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.2">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="advancements/advancements.html" />
    
    
    <link rel="prev" href="resourcepack/sound.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    引言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../concepts/concepts.html">
            
                <a href="../concepts/concepts.html">
            
                    
                    1 基础概念
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../concepts/space.html">
            
                <a href="../concepts/space.html">
            
                    
                    1.1 坐标、朝向、区块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../concepts/time.html">
            
                <a href="../concepts/time.html">
            
                    
                    1.2 时间、顺序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../concepts/execution.html">
            
                <a href="../concepts/execution.html">
            
                    
                    1.3 命令执行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../concepts/selector/selector.html">
            
                <a href="../concepts/selector/selector.html">
            
                    
                    1.4 目标选择器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../concepts/stats.html">
            
                <a href="../concepts/stats.html">
            
                    
                    1.5 命令执行统计
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../common-format/common-format.html">
            
                <a href="../common-format/common-format.html">
            
                    
                    2 常用命令格式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../common-format/json/json.html">
            
                <a href="../common-format/json/json.html">
            
                    
                    2.1 JSON文本
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../common-format/json/type.html">
            
                <a href="../common-format/json/type.html">
            
                    
                    2.1.1 JSON文本类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../common-format/json/formatting.html">
            
                <a href="../common-format/json/formatting.html">
            
                    
                    2.1.2 JSON样式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.3" data-path="../common-format/json/event.html">
            
                <a href="../common-format/json/event.html">
            
                    
                    2.1.3 JSON事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.4" data-path="../common-format/json/array.html">
            
                <a href="../common-format/json/array.html">
            
                    
                    2.1.4 JSON分项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.5" data-path="../common-format/json/sign-book.html">
            
                <a href="../common-format/json/sign-book.html">
            
                    
                    2.1.5 告示牌及成书
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.6" data-path="../common-format/json/other.html">
            
                <a href="../common-format/json/other.html">
            
                    
                    2.1.6 杂项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.7" data-path="../common-format/json/keys.html">
            
                <a href="../common-format/json/keys.html">
            
                    
                    2.1.A 附录: keybind列表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../common-format/nbt/nbt.html">
            
                <a href="../common-format/nbt/nbt.html">
            
                    
                    2.2 NBT及结构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../common-format/nbt/simple.html">
            
                <a href="../common-format/nbt/simple.html">
            
                    
                    2.2.1 基本类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../common-format/nbt/example.html">
            
                <a href="../common-format/nbt/example.html">
            
                    
                    2.2.2 NBT实战
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../command/command.html">
            
                <a href="../command/command.html">
            
                    
                    3 如何执行命令
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../command/chat.html">
            
                <a href="../command/chat.html">
            
                    
                    3.1 聊天栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../command/cb.html">
            
                <a href="../command/cb.html">
            
                    
                    3.2 命令方块简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../command/function.html">
            
                <a href="../command/function.html">
            
                    
                    3.3 命令函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../scoreboard/scoreboard.html">
            
                <a href="../scoreboard/scoreboard.html">
            
                    
                    4 记分板
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../scoreboard/objective.html">
            
                <a href="../scoreboard/objective.html">
            
                    
                    4.1 记分板变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../scoreboard/team.html">
            
                <a href="../scoreboard/team.html">
            
                    
                    4.2 记分板队伍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../scoreboard/tag.html">
            
                <a href="../scoreboard/tag.html">
            
                    
                    4.3 记分板标签
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../scoreboard/command.html">
            
                <a href="../scoreboard/command.html">
            
                    
                    4.4 记分板命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../scoreboard/example.html">
            
                <a href="../scoreboard/example.html">
            
                    
                    4.5 记分板实战
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.5.1" data-path="../scoreboard/examples/example1.html">
            
                <a href="../scoreboard/examples/example1.html">
            
                    
                    4.5.1 循环电路|记分板的基础操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.2" data-path="../scoreboard/examples/example2.html">
            
                <a href="../scoreboard/examples/example2.html">
            
                    
                    4.5.2 自定义命令|stats与记分板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.3" data-path="../scoreboard/examples/example3.html">
            
                <a href="../scoreboard/examples/example3.html">
            
                    
                    4.5.3 击杀率|operation与准则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.4" data-path="../scoreboard/examples/example4.html">
            
                <a href="../scoreboard/examples/example4.html">
            
                    
                    4.5.4 漂亮的排名|显示与队伍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.5" data-path="../scoreboard/examples/example5.html">
            
                <a href="../scoreboard/examples/example5.html">
            
                    
                    4.5.5 简单登入系统|function与综合运用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../logic/logic.html">
            
                <a href="../logic/logic.html">
            
                    
                    5 基础逻辑
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../logic/enum.html">
            
                <a href="../logic/enum.html">
            
                    
                    5.1 穷举
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../logic/score.html">
            
                <a href="../logic/score.html">
            
                    
                    5.2 分数处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../logic/bool.html">
            
                <a href="../logic/bool.html">
            
                    
                    5.3 布尔逻辑
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../logic/loop.html">
            
                <a href="../logic/loop.html">
            
                    
                    5.4 循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../logic/event.html">
            
                <a href="../logic/event.html">
            
                    
                    5.5 事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../logic/marker.html">
            
                <a href="../logic/marker.html">
            
                    
                    5.6 实体Marker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../logic/execute.html">
            
                <a href="../logic/execute.html">
            
                    
                     5.7 execute进阶
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../practise/practise.html">
            
                <a href="../practise/practise.html">
            
                    
                    6 实战
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../practise/objects.html">
            
                <a href="../practise/objects.html">
            
                    
                    6.1 游戏内物件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../practise/test-debug.html">
            
                <a href="../practise/test-debug.html">
            
                    
                    6.2 命令系统测试及调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../practise/examples/examples.html">
            
                <a href="../practise/examples/examples.html">
            
                    
                    6.3 更多命令系统例子
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.3.1" data-path="../practise/examples/furnace.html">
            
                <a href="../practise/examples/furnace.html">
            
                    
                    6.3.1 熔炉过热系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.2" data-path="../practise/examples/badapple.html">
            
                <a href="../practise/examples/badapple.html">
            
                    
                    6.3.2 毒苹果
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.3" data-path="../practise/examples/rain.html">
            
                <a href="../practise/examples/rain.html">
            
                    
                    6.3.3 下雨检测
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.4" data-path="../practise/examples/chest_replace.html">
            
                <a href="../practise/examples/chest_replace.html">
            
                    
                    6.3.4 替换方块实体
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.5" data-path="../practise/examples/skill.html">
            
                <a href="../practise/examples/skill.html">
            
                    
                    6.3.5 技能系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.6" data-path="../practise/examples/crown.html">
            
                <a href="../practise/examples/crown.html">
            
                    
                    6.3.6 皇冠系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.7" data-path="../practise/examples/blackhole.html">
            
                <a href="../practise/examples/blackhole.html">
            
                    
                    6.3.7 黑洞
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.8" data-path="../practise/examples/login.html">
            
                <a href="../practise/examples/login.html">
            
                    
                    6.3.8 登录系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="data-files.html">
            
                <a href="data-files.html">
            
                    
                    7 游戏文件的使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="resourcepack/resourcepack.html">
            
                <a href="resourcepack/resourcepack.html">
            
                    
                    7.1 资源包
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1.1" data-path="resourcepack/textures.html">
            
                <a href="resourcepack/textures.html">
            
                    
                    7.1.1 材质
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.1.2" data-path="resourcepack/models.html">
            
                <a href="resourcepack/models.html">
            
                    
                    7.1.2 模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.1.3" data-path="resourcepack/sound.html">
            
                <a href="resourcepack/sound.html">
            
                    
                    7.1.3 声音
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="1.8.2" data-path="loot-table.html">
            
                <a href="loot-table.html">
            
                    
                    7.2 Loot table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="advancements/advancements.html">
            
                <a href="advancements/advancements.html">
            
                    
                    7.3 Advancement
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.3.1" data-path="advancements/examples.html">
            
                <a href="advancements/examples.html">
            
                    
                    Advancement例子
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" >
            
                <span>
            
                    
                    8 杂项
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" >
            
                <a target="_blank" href="https://commandtutorials.neocities.org/">
            
                    
                    8.1 其他资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../misc/success.html">
            
                <a href="../misc/success.html">
            
                    
                    8.2 如何成为一个成功的CBer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../misc/question.html">
            
                <a href="../misc/question.html">
            
                    
                    8.3 问问题的技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="../misc/quotes.html">
            
                <a href="../misc/quotes.html">
            
                    
                    8.4 其他CBer的建言
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >7.2 Loot table</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="loot-table">Loot table</h1>
<p>&#x6218;&#x5229;&#x54C1;&#x8868;(Loot table)&#xFF0C;&#x662F;&#x4E00;&#x4E2A;&#x5BF9;&#x5730;&#x56FE;&#x5236;&#x4F5C;&#x975E;&#x5E38;&#x6709;&#x7528;&#x7684;&#x529F;&#x80FD;&#x3002;<br>&#x5B83;&#x80FD;&#x591F;&#x968F;&#x673A;&#x7269;&#x54C1;&#xFF0C;&#x4F5C;&#x4E3A;&#x751F;&#x7269;&#x6389;&#x843D;&#x3001;&#x7BB1;&#x5B50;&#x968F;&#x673A;&#x751F;&#x6210;&#x4EE5;&#x53CA;&#x8FDB;&#x5EA6;&#x5956;&#x52B1;&#x3002;<br>&#x6700;&#x91CD;&#x8981;&#x7684;&#x5730;&#x65B9;&#x5728;&#x4E8E;Loot table&#x62E5;&#x6709;&#x5F88;&#x591A;&#x7684;&#x51FD;&#x6570;(Function)&#xFF0C;&#x53EF;&#x4EE5;&#x968F;&#x673A;&#x4E00;&#x4E9B;NBT&#x5C5E;&#x6027;&#xFF0C;&#x5982;&#x9644;&#x9B54;&#x3001;Attributes&#x7B49;&#x3002;&#x8FD9;&#x4E9B;&#x5982;&#x679C;&#x9700;&#x8981;&#x547D;&#x4EE4;&#x6765;&#x7ED9;&#x4E88;&#x7684;&#x8BDD;&#x4F1A;&#x975E;&#x5E38;&#x7684;&#x7E41;&#x590D;&#x3002;</p>
<p>&#x6218;&#x5229;&#x54C1;&#x8868;&#x53EF;&#x4EE5;&#x81EA;&#x5B9A;&#x4E49;&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x6839;&#x636E;&#x4E0B;&#x6587;&#x6307;&#x51FA;&#x7684;&#x67B6;&#x6784;&#x7F16;&#x5199;JSON&#x6587;&#x4EF6;&#x5E76;&#x5C06;JSON&#x6587;&#x4EF6;&#x653E;&#x4E8E;<code>(&#x5730;&#x56FE;)/data/loot_tables/(&#x547D;&#x540D;&#x7A7A;&#x95F4;)/&#x8DEF;&#x5F84;</code>&#x91CC;&#xFF0C;&#x8FD9;&#x65B9;&#x5F0F;&#x548C;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x7C7B;&#x4F3C;&#x3002;</p>
<p>&#x5982;&#x679C;&#x628A;&#x6218;&#x5229;&#x54C1;&#x653E;&#x5728;&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x4E3A;<code>minecraft</code>&#xFF0C;&#x8DEF;&#x5F84;&#x548C;&#x539F;&#x7248;&#x76F8;&#x540C;&#x540D;&#x79F0;&#x7684;&#x6218;&#x5229;&#x54C1;&#x8868;&#x4E00;&#x6837;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x5219;&#x4F1A;<strong>&#x8986;&#x76D6;</strong>&#x8BE5;&#x539F;&#x7248;&#x6218;&#x5229;&#x54C1;&#x8868;&#x3002;</p>
<p>&#x8FD9;&#x6587;&#x4EF6;&#x9700;&#x8981;&#x4F7F;&#x7528;<a href="../common-format/json/json.html">JSON&#x683C;&#x5F0F;</a>&#x3002;</p>
<h2 id="&#x7ED3;&#x6784;">&#x7ED3;&#x6784;</h2>
<ul>
<li>&#xFF08;Loot table&#x6839;&#x6807;&#x7B7E;&#xFF09;<ul>
<li><code>pools</code>: &#x968F;&#x673A;&#x6C60;&#x5217;&#x8868;&#x3002;&#x4F7F;&#x7528;&#x6B64;&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x65F6;&#x5019;<strong>&#x6BCF;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#x90FD;&#x4F1A;&#x6267;&#x884C;&#x4E00;&#x6B21;</strong>&#x3002;<ul>
<li>&#x4E00;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#xFF08;&#x89C1;&#x4E0B;&#xFF09;</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&#x8C03;&#x7528;&#x6218;&#x5229;&#x54C1;&#x8868;&#x751F;&#x6210;&#x7269;&#x54C1;&#x65F6;&#xFF0C;&#x6E38;&#x620F;&#x4F1A;&#x5C1D;&#x8BD5;&#x9010;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#x6267;&#x884C;&#x3002;</p>
<h3 id="&#x968F;&#x673A;&#x6C60;">&#x968F;&#x673A;&#x6C60;</h3>
<ul>
<li>&#xFF08;&#x4E00;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#xFF09;<ul>
<li><code>conditions</code>: &#x4E00;&#x5806;&#x4F7F;&#x7528;&#x6B64;&#x968F;&#x673A;&#x6C60;&#x7684;&#x6761;&#x4EF6;&#x3002;&#x5FC5;&#x987B;&#x5168;&#x90E8;&#x7B26;&#x5408;&#x624D;&#x4F1A;&#x6267;&#x884C;&#x672C;&#x6C60;&#x3002;List&#x3002;<ul>
<li>&#x4E00;&#x4E2A;condition&#xFF08;&#x89C1;&#x4E0B;&#xFF09;</li>
</ul>
</li>
<li><code>rolls</code>: &#x6307;&#x5B9A;&#x4F1A;&#x5728;entries&#x91CC;&#x968F;&#x673A;&#x62BD;&#x53D6;&#x591A;&#x5C11;&#x6B21;&#x3002;&#xFF08;&#x6BCF;&#x6B21;&#x53EA;&#x4F1A;&#x62BD;&#x53D6;&#x7B26;&#x5408;&#x6761;&#x4EF6;&#x7684;entry&#x3002;&#xFF09;&#x6574;&#x6570;&#x3002;</li>
<li><code>rolls</code>: &#x5728;&#x4E0B;&#x65B9;&#x8303;&#x56F4;&#x5185;&#x9009;&#x62E9;&#x4E00;&#x4E2A;&#x968F;&#x673A;&#x6570;&#xFF0C;&#x51B3;&#x5B9A;&#x4F1A;&#x5728;entries&#x91CC;&#x968F;&#x673A;&#x62BD;&#x53D6;&#x591A;&#x5C11;&#x6B21;&#x3002;<ul>
<li><code>min</code>: &#x968F;&#x673A;&#x6570;&#x7684;&#x4E0B;&#x9650;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x968F;&#x673A;&#x6570;&#x4E0D;&#x4F1A;&#x5C0F;&#x4E8E;&#x8FD9;&#x4E2A;&#x6570;&#xFF08;&#x4F46;&#x53EF;&#x4EE5;&#x7B49;&#x4E8E;&#xFF09;&#x3002;&#x6574;&#x6570;&#x3002;</li>
<li><code>max</code>: &#x968F;&#x673A;&#x6570;&#x7684;&#x4E0A;&#x9650;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x968F;&#x673A;&#x6570;&#x4E0D;&#x4F1A;&#x5927;&#x4E8E;&#x8FD9;&#x4E2A;&#x6570;&#xFF08;&#x4F46;&#x53EF;&#x4EE5;&#x7B49;&#x4E8E;&#xFF09;&#x3002;&#x6574;&#x6570;&#x3002;</li>
</ul>
</li>
<li><code>bonus_rolls</code>: &#x6BCF;&#x70B9;&#x5E78;&#x8FD0;&#x503C;&#x589E;&#x52A0;roll&#x7684;&#x6B21;&#x6570;&#xFF0C;&#x5411;&#x4E0B;&#x53D6;&#x6574;&#x6570;&#x3002;&#x6D6E;&#x70B9;&#x6570;&#x3002;&#x9ED8;&#x8BA4;&#x4E3A;0&#x3002;&#x53EF;&#x4EE5;&#x4E3A;&#x8D1F;&#x6570;&#x3002;</li>
<li><code>bonus_rolls</code>: &#x5728;&#x4E0B;&#x65B9;&#x8303;&#x56F4;&#x5185;&#x9009;&#x62E9;&#x4E00;&#x4E2A;&#x968F;&#x673A;&#x6570;&#xFF0C;&#x51B3;&#x5B9A;&#x6BCF;&#x70B9;&#x5E78;&#x8FD0;&#x503C;&#x589E;&#x52A0;roll&#x7684;&#x6B21;&#x6570;&#xFF0C;&#x5411;&#x4E0B;&#x53D6;&#x6574;&#x6570;&#x3002;&#x6D6E;&#x70B9;&#x6570;&#x3002;&#x53EF;&#x4EE5;&#x4E3A;&#x8D1F;&#x6570;&#x3002;<ul>
<li><code>min</code>: &#x968F;&#x673A;&#x6570;&#x7684;&#x4E0B;&#x9650;&#x3002;&#x6D6E;&#x70B9;&#x6570;&#x3002;</li>
<li><code>max</code>: &#x968F;&#x673A;&#x6570;&#x7684;&#x4E0A;&#x9650;&#x3002;&#x6D6E;&#x70B9;&#x6570;&#x3002;</li>
</ul>
</li>
<li><code>entries</code>: &#x968F;&#x673A;&#x9879;&#x76EE;&#x5217;&#x8868;&#x3002;<ul>
<li>&#x4E00;&#x4E2A;entry&#x3002;</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&#x9010;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#x6267;&#x884C;&#x65F6;&#xFF0C;&#x6E38;&#x620F;&#x4F1A;&#x9996;&#x5148;&#x770B;&#x770B;&#x662F;&#x5426;&#x7B26;&#x5408;&#x6B64;&#x968F;&#x673A;&#x6C60;&#x6307;&#x5B9A;&#x7684;&#x6240;&#x6709;&#x6761;&#x4EF6;&#xFF0C;&#x5982;&#x679C;&#x7B26;&#x5408;&#x5219;&#x7EE7;&#x7EED;&#xFF0C;&#x4E0D;&#x7B26;&#x5408;&#x5219;&#x7EE7;&#x7EED;&#x4E0B;&#x4E00;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#xFF08;&#x6216;&#x5B8C;&#x6210;&#x6267;&#x884C;&#xFF0C;&#x5982;&#x679C;&#x5DF2;&#x7ECF;&#x6CA1;&#x6709;&#x5176;&#x4ED6;&#x968F;&#x673A;&#x6C60;&#xFF09;&#x3002;</p>
<p>&#x6E38;&#x620F;&#x4F1A;&#x6839;&#x636E;&#x6307;&#x5B9A;&#x73A9;&#x5BB6;&#x7684;&#x5E78;&#x8FD0;&#x503C;&#x8BA1;&#x7B97;&#x51FA;&#x989D;&#x5916;&#x7684;rolls(<code>bonus_rolls*luck</code>)&#xFF0C;&#x7136;&#x540E;&#x968F;&#x673A;&#x6267;&#x884C;<code>roll + bonus_rolls*luck</code>&#x6B21;&#x9009;&#x62E9;&#x5408;&#x9002;&#x7684;&#x968F;&#x673A;&#x9879;&#x76EE;&#xFF08;&#x4E0D;&#x4F1A;&#x9009;&#x62E9;&#x5230;&#x4E0D;&#x7B26;&#x5408;&#x6761;&#x4EF6;&#x7684;&#x968F;&#x673A;&#x9879;&#x76EE;&#xFF0C;&#x53EF;&#x4EE5;&#x91CD;&#x590D;&#x9009;&#x62E9;&#xFF09;&#x3002;</p>
<h3 id="&#x968F;&#x673A;&#x9879;&#x76EE;">&#x968F;&#x673A;&#x9879;&#x76EE;</h3>
<ul>
<li>&#xFF08;&#x4E00;&#x4E2A;&#x968F;&#x673A;&#x9879;&#x76EE;&#xFF09;<ul>
<li><code>conditions</code>: &#x4E00;&#x5806;&#x4F7F;&#x7528;&#x6B64;&#x968F;&#x673A;&#x9879;&#x76EE;&#x7684;&#x6761;&#x4EF6;&#x3002;&#x5FC5;&#x987B;&#x5168;&#x90E8;&#x7B26;&#x5408;&#x624D;&#x4F1A;&#x9009;&#x62E9;&#x672C;&#x9879;&#x76EE;&#x3002;List&#x3002;</li>
<li><code>type</code>: &#x6307;&#x5B9A;&#x6B64;&#x968F;&#x673A;&#x9879;&#x76EE;&#x7684;&#x7C7B;&#x578B;&#x3002;&#x5B57;&#x4E32;&#x3002;&#x53EF;&#x80FD;&#x6570;&#x503C;&#x6709;&#xFF1A;<ul>
<li><code>loot_table</code>: &#x8C03;&#x7528;&#x522B;&#x7684;&#x6218;&#x5229;&#x54C1;&#x8868;&#x3002;&#xFF08;&#x628A;&#x8BE5;&#x6218;&#x5229;&#x54C1;&#x8868;&#x968F;&#x673A;&#x51FA;&#x6765;&#x7684;&#x7269;&#x54C1;&#x5F53;&#x6B64;&#x9879;&#x76EE;&#x7684;&#x5956;&#x52B1;&#xFF09;</li>
<li><code>item</code>: &#x968F;&#x673A;&#x7269;&#x54C1;&#x3002;&#x6700;&#x5E38;&#x7528;&#x7684;&#x7C7B;&#x578B;&#x3002;</li>
<li><code>empty</code>: &#x5C31;&#x662F;&#x62BD;&#x5230;&#x7A7A;&#x7BB1;&#x5B50;&#x4E86;&#xFF0C;&#x4E0D;&#x7ED9;&#x4EFB;&#x4F55;&#x5956;&#x52B1;&#x3002;&#x8FD9;&#x4E2A;&#x770B;&#x4F3C;&#x65E0;&#x7528;&#xFF0C;&#x5B9E;&#x9645;&#x4E0A;&#x53EF;&#x4EE5;&#x7528;&#x6B64;&#x6765;&#x505A;&#x5230;&#x52A0;&#x6743;&#x7684;&#x968F;&#x673A;rolls&#x6570;&#x91CF;&#x3002;</li>
</ul>
</li>
<li><code>name</code>:<ul>
<li>&#x5982;&#x679C;<code>type</code>&#x4E3A;<code>item</code>&#xFF0C;&#x5219;&#x586B;&#x5199;&#x7ED9;&#x4E88;&#x7684;&#x7269;&#x54C1;id&#xFF0C;&#x5982;<code>minecraft:stone</code>&#x3002;&#x9ED8;&#x8BA4;&#x7269;&#x54C1;&#x6570;&#x91CF;&#x4E3A;1&#x3002;</li>
<li>&#x5982;&#x679C;<code>type</code>&#x4E3A;<code>loot_table</code>&#xFF0C;&#x5219;&#x586B;&#x5199;&#x8C03;&#x7528;&#x7684;&#x6218;&#x5229;&#x54C1;&#x8868;&#x540D;&#x79F0;&#x3002;<code>(&#x547D;&#x540D;&#x7A7A;&#x95F4;):&#x8DEF;&#x5F84;</code>&#x3002;&#x8BF7;&#x770B;&#x6218;&#x5229;&#x54C1;&#x8868;&#x540D;&#x79F0;&#x90E8;&#x5206;&#xFF0C;</li>
</ul>
</li>
<li><code>functions</code>: &#x5982;&#x679C;<code>type</code>&#x4E3A;<code>item</code>&#xFF0C;&#x5219;&#x5BF9;&#x7ED9;&#x4E88;&#x7684;&#x7269;&#x54C1;&#x6267;&#x884C;&#x7279;&#x5B9A;&#x51FD;&#x6570;&#xFF0C;&#x968F;&#x673A;&#x9644;&#x9B54;&#x3001;attributes&#x3001;&#x6570;&#x91CF;&#x7B49;&#x7B49;&#x3002;&#x6CE8;&#x610F;&#x51FD;&#x6570;&#x7684;&#x6B21;&#x5E8F;&#x975E;&#x5E38;&#x91CD;&#x8981;&#xFF0C;&#x6E38;&#x620F;&#x4F1A;&#x987A;&#x5E8F;&#x6267;&#x884C;&#x51FD;&#x6570;&#xFF0C;&#x6240;&#x4EE5;&#x4E00;&#x4E9B;&#x4FEE;&#x6539;&#x7269;&#x54C1;&#x6570;&#x636E;&#x7684;&#x51FD;&#x6570;&#x5E94;&#x8BE5;&#x5728;&#x5982;<code>set_count</code>&#x51FD;&#x6570;&#x540E;&#x6267;&#x884C;&#xFF0C;&#x5426;&#x5219;&#x4FBF;&#x4F1A;&#x51FA;&#x9519;&#x3002;<ul>
<li>&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#xFF08;&#x89C1;&#x4E0B;&#xFF09;</li>
</ul>
</li>
<li><code>weight</code>: &#x6B64;&#x968F;&#x673A;&#x9879;&#x76EE;&#x7684;&#x6743;&#x91CD;&#x3002;&#x968F;&#x673A;&#x9879;&#x76EE;&#x88AB;&#x9009;&#x62E9;&#x7684;&#x51E0;&#x7387;=<code>&#x6B64;&#x9879;&#x76EE;&#x6743;&#x91CD;/&#x6574;&#x4E2A;&#x968F;&#x673A;&#x6C60;&#x7684;&#x6240;&#x6709;&#x968F;&#x673A;&#x9879;&#x76EE;&#x6743;&#x91CD;&#x7684;&#x52A0;&#x603B;</code>&#x3002;&#x6574;&#x6570;&#x3002;</li>
<li><code>quality</code>: &#x6BCF;&#x70B9;&#x5E78;&#x8FD0;&#x503C;&#x5BF9;&#x8BE5;&#x9879;&#x76EE;&#x7684;&#x6743;&#x91CD;&#x589E;&#x503C;&#xFF0C;&#x52A0;&#x5B8C;&#x540E;&#x5411;&#x4E0B;&#x53D6;&#x6574;&#x6570;&#x3002;&#x6574;&#x6570;&#x3002;</li>
</ul>
</li>
</ul>
<h3 id="&#x6761;&#x4EF6;condition">&#x6761;&#x4EF6;(Condition)</h3>
<ul>
<li>&#xFF08;&#x4E00;&#x4E2A;&#x6761;&#x4EF6;&#xFF09;<ul>
<li><code>condition</code>: &#x6761;&#x4EF6;&#x7684;&#x540D;&#x79F0;&#xFF0C;&#x5982;<code>entity_properties</code>&#x3002;</li>
<li>...: &#x5176;&#x4ED6;&#x6761;&#x4EF6;&#x7684;&#x6807;&#x7B7E;&#x3002;</li>
</ul>
</li>
</ul>
<p>&#x6BD4;&#x5982;&#x6709;&#x4E00;&#x4E2A;&#x6761;&#x4EF6;&#x53EB;&#x4F5C;<code>entity_scores</code>&#x3002;&#x5176;&#x63CF;&#x8FF0;&#x662F;&#x8FD9;&#x6837;&#x7684;&#xFF1A;</p>
<ul>
<li><code>entity_scores</code> - &#x68C0;&#x6D4B;&#x4E00;&#x4E2A;&#x5B9E;&#x4F53;&#x7684;&#x8BB0;&#x5206;&#x677F;&#x5206;&#x6570;&#x3002;<ul>
<li><code>entity</code>: &#x9700;&#x8981;&#x68C0;&#x6D4B;&#x7684;&#x5B9E;&#x4F53;&#x3002;<code>this</code>&#x4E3A;&#x8FD9;&#x4E2A;&#x6B7B;&#x6389;&#x7684;&#x5B9E;&#x4F53;&#xFF08;&#x5982;&#x679C;&#x8FD9;&#x662F;&#x751F;&#x7269;&#x6389;&#x843D;&#x7684;&#x6218;&#x5229;&#x54C1;&#x8868;&#xFF09;&#xFF0C;<code>killer</code>&#x4E3A;&#x68C0;&#x6D4B;&#x6740;&#x6B7B;&#x8BE5;&#x5B9E;&#x4F53;&#x7684;&#x5B9E;&#x4F53;&#xFF0C;<code>killer_player</code>&#x4E3A;&#x68C0;&#x6D4B;&#x6740;&#x6B7B;&#x8BE5;&#x5B9E;&#x4F53;&#x7684;&#x73A9;&#x5BB6;&#x3002;<br>  &#x5982;&#x679C;&#x6307;&#x5B9A;&#x4E86;<code>killer</code>&#x6216;<code>killer_player</code>&#x4F46;&#x4E0D;&#x5B58;&#x5728;&#x8FD9;&#x5B9E;&#x4F53;&#xFF0C;&#x5219;&#x6B64;&#x6761;&#x4EF6;&#x4E0D;&#x6EE1;&#x8DB3;&#x3002;</li>
<li><code>scores</code>: &#x9700;&#x8981;&#x68C0;&#x6D4B;&#x7684;&#x5206;&#x6570;&#x3002;&#x6240;&#x6709;&#x5206;&#x6570;&#x90FD;&#x9700;&#x8981;&#x6EE1;&#x8DB3;&#x624D;&#x7B97;&#x6EE1;&#x8DB3;&#x6B64;&#x6761;&#x4EF6;&#x3002;&#x5982;&#x679C;&#x6307;&#x5B9A;&#x53D8;&#x91CF;&#x4E0D;&#x5B58;&#x5728;&#x7684;&#x8BDD;&#x5219;&#x7B97;&#x4F5C;&#x4E0D;&#x6EE1;&#x8DB3;&#x3002;<ul>
<li><code>&lt;&#x8BB0;&#x5206;&#x677F;&#x53D8;&#x91CF;&#x540D;&#x79F0;&gt;</code>: &#x6807;&#x7B7E;&#x540D;&#x79F0;&#x4E3A;&#x8BB0;&#x5206;&#x677F;&#x53D8;&#x91CF;&#x540D;&#x79F0;&#x3002;&#x6307;&#x5B9A;&#x5B9E;&#x4F53;&#x7684;&#x5206;&#x6570;&#x5FC5;&#x987B;&#x4E3A;&#x6B64;&#x5206;&#x6570;&#x624D;&#x7B97;&#x6EE1;&#x8DB3;&#x6B64;&#x6761;&#x4EF6;&#x3002;&#x6574;&#x6570;</li>
<li><code>&lt;&#x8BB0;&#x5206;&#x677F;&#x53D8;&#x91CF;&#x540D;&#x79F0;&gt;</code>: &#x6807;&#x7B7E;&#x540D;&#x79F0;&#x4E3A;&#x8BB0;&#x5206;&#x677F;&#x53D8;&#x91CF;&#x540D;&#x79F0;&#x3002;&#x6307;&#x5B9A;&#x5B9E;&#x4F53;&#x7684;&#x5206;&#x6570;&#x5FC5;&#x987B;&#x5728;&#x6B64;&#x8303;&#x56F4;&#x624D;&#x7B97;&#x6EE1;&#x8DB3;&#x6B64;&#x6761;&#x4EF6;&#x3002;<ul>
<li><code>min</code>: &#x6700;&#x5C0F;&#x5206;&#x6570;&#x3002;</li>
<li><code>max</code>: &#x6700;&#x5927;&#x5206;&#x6570;&#x3002;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>&#x91CC;&#x9762;&#x7684;<code>entity</code>&#x4EE5;&#x53CA;<code>scores</code>&#x5C31;&#x662F;&#x6761;&#x4EF6;&#x7684;&#x5176;&#x4ED6;&#x6807;&#x7B7E;&#x3002;</p>
<p>&#x5047;&#x8BBE;&#x6211;&#x4EEC;&#x8981;&#x68C0;&#x6D4B;&#x6740;&#x6B7B;&#x751F;&#x7269;&#x7684;&#x73A9;&#x5BB6;&#x7684;&#x5206;&#x6570;<code>test</code>&#x4E3A;30-40&#xFF0C;<code>test2</code>&#x4E3A;1&#x5206;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x8FD9;&#x4E48;&#x5199;&#xFF1A;&#xFF08;&#x53EA;&#x5199;&#x51FA;&#x4E00;&#x4E2A;condition&#xFF09;</p>
<pre><code>{
    &quot;condition&quot;: &quot;entity_scores&quot;,
    &quot;entity&quot;: &quot;killer_player&quot;,
    &quot;scores&quot;: {
        &quot;test&quot;: {
            &quot;max&quot;: 40,
            &quot;min&quot;: 30
        },
        &quot;test2&quot;: 1
    }
}
</code></pre><blockquote>
<p>&#x90A3;&#x4E9B;&#x6761;&#x4EF6;&#x7684;&#x8BE6;&#x7EC6;&#x5217;&#x8868;&#x8FD8;&#x8BF7;&#x53C2;&#x7167; <a href="https://minecraft.gamepedia.com/Loot_table#Conditions" target="_blank">https://minecraft.gamepedia.com/Loot_table#Conditions</a></p>
</blockquote>
<h3 id="&#x51FD;&#x6570;function">&#x51FD;&#x6570;(Function)</h3>
<ul>
<li>&#x4E00;&#x4E2A;&#x51FD;&#x6570;<ul>
<li><code>function</code>: &#x51FD;&#x6570;&#x540D;&#x79F0;&#x3002;</li>
<li><code>conditions</code>: &#x4F7F;&#x7528;&#x6B64;&#x51FD;&#x6570;&#x7684;&#x6761;&#x4EF6;&#x5217;&#x8868;&#x3002;<ul>
<li>&#x4E00;&#x4E2A;condition&#x3002;</li>
</ul>
</li>
<li>...&#x5176;&#x4ED6;&#x7684;&#x51FD;&#x6570;&#x6807;&#x7B7E;&#x3002;</li>
</ul>
</li>
</ul>
<p>&#x4E3E;&#x4E2A;&#x4F8B;&#x5B50;&#x3002;</p>
<ul>
<li><code>enchant_randomly</code>: &#x968F;&#x673A;&#x9009;&#x62E9;&#x4E00;&#x4E2A;&#x9644;&#x9B54;&#xFF0C;&#x5982;&#x679C;&#x8BE5;&#x9644;&#x9B54;&#x62E5;&#x6709;&#x591A;&#x4E2A;&#x7B49;&#x7EA7;&#xFF08;&#x73A9;&#x5BB6;&#x80FD;&#x591F;&#x9644;&#x9B54;&#x7684;&#x7B49;&#x7EA7;&#xFF09;&#x5219;&#x968F;&#x673A;&#x9009;&#x62E9;&#x4E00;&#x4E2A;&#x7B49;&#x7EA7;&#x3002;<ul>
<li><code>enchantments</code>: &#x53EF;&#x4F9B;&#x9009;&#x62E9;&#x7684;<a href="https://minecraft.gamepedia.com/Enchantments#Data_values" target="_blank">&#x9644;&#x9B54;&#x540D;&#x79F0;</a>&#x3002;&#x5982;&#x679C;&#x88AB;&#x5FFD;&#x7565;&#xFF0C;&#x5219;&#x4ECE;&#x6240;&#x6709;&#x9644;&#x9B54;&#x4E2D;&#x968F;&#x673A;&#x9644;&#x9B54;&#x3002;</li>
</ul>
</li>
</ul>
<p>&#x5176;&#x4E2D;&#x7684;<code>enchantments</code>&#x5C31;&#x662F;&#x5176;&#x4ED6;&#x7684;&#x51FD;&#x6570;&#x6807;&#x7B7E;&#x3002;</p>
<p>&#x5047;&#x8BBE;&#x6211;&#x4EEC;&#x9700;&#x8981;&#x968F;&#x673A;&#x9644;&#x9B54;<strong>&#x4FDD;&#x62A4;&#x6216;&#x706B;&#x7130;&#x4FDD;&#x62A4;</strong>&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x8FD9;&#x4E48;&#x5199;&#xFF1A;&#xFF08;&#x53EA;&#x5199;&#x51FA;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#xFF09;</p>
<pre><code>{
    &quot;function&quot;: &quot;enchant_randomly&quot;,
    &quot;enchantments&quot;: [
        &quot;protection&quot;,
        &quot;fire_protection&quot;
    ]
}
</code></pre><blockquote>
<p>&#x90A3;&#x4E9B;&#x51FD;&#x6570;&#x7684;&#x8BE6;&#x7EC6;&#x5217;&#x8868;&#x8FD8;&#x8BF7;&#x53C2;&#x7167;: <a href="https://minecraft.gamepedia.com/Loot_table#Functions" target="_blank">https://minecraft.gamepedia.com/Loot_table#Functions</a></p>
</blockquote>
<h2 id="&#x6218;&#x5229;&#x54C1;&#x8868;&#x540D;&#x79F0;">&#x6218;&#x5229;&#x54C1;&#x8868;&#x540D;&#x79F0;</h2>
<p>&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x540D;&#x79F0;&#x4E3A;<code>(&#x547D;&#x540D;&#x7A7A;&#x95F4;):&#x8DEF;&#x5F84;</code>&#xFF0C;&#x8DEF;&#x5F84;&#x4E0D;&#x5305;&#x62EC;&#x6587;&#x4EF6;&#x6269;&#x5C55;&#x540D;&#x3002;&#x4E0E;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x7C7B;&#x4F3C;&#x3002;</p>
<p>&#x6BD4;&#x5982;&#x8DEF;&#x5F84;&#x5728;<code>data/loot_tables/test/test1.json</code>&#x7684;&#x6218;&#x5229;&#x54C1;&#x8868;&#xFF0C;&#x8C03;&#x7528;&#x65F6;&#x5176;&#x540D;&#x79F0;&#x4E3A;<code>test:test1</code>&#x3002;</p>
<h2 id="&#x4F7F;&#x7528;">&#x4F7F;&#x7528;</h2>
<p>&#x751F;&#x7269;&#x6389;&#x843D;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;<code>DeathLootTable</code>&#xFF0C;&#x6570;&#x503C;&#x4E3A;&#x6218;&#x5229;&#x54C1;&#x8868;&#x540D;&#x79F0;&#x3002;&#x8FD9;&#x6837;&#x751F;&#x7269;&#x6B7B;&#x4EA1;&#x65F6;&#x5C31;&#x4F1A;&#x6389;&#x843D;&#x6307;&#x5B9A;&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x5956;&#x54C1;&#x3002;</p>
<p>&#x7BB1;&#x5B50;&#x548C;&#x7BB1;&#x5B50;&#x77FF;&#x8F66;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;<code>LootTable</code>&#xFF0C;&#x6570;&#x503C;&#x4E3A;&#x6218;&#x5229;&#x54C1;&#x8868;&#x540D;&#x79F0;&#x3002;&#x8FD9;&#x6837;&#x7BB1;&#x5B50;&#x6253;&#x5F00;&#x65F6;&#x5C31;&#x4F1A;&#x751F;&#x6210;&#x6307;&#x5B9A;&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x7269;&#x54C1;&#xFF08;&#x7269;&#x54C1;&#x4F1A;&#x88AB;&#x968F;&#x673A;&#x653E;&#x7F6E;&#x5728;&#x4E0D;&#x540C;&#x683C;&#x5B50;&#x5185;&#xFF09;&#xFF0C;<strong>&#x53D6;&#x4EE3;&#x539F;&#x5148;&#x7684;&#x7269;&#x54C1;</strong>&#x3002;</p>
<p>&#x6CE8;&#x610F;: &#x7BB1;&#x5B50;&#x548C;&#x7BB1;&#x5B50;&#x77FF;&#x8F66;&#x88AB;&#x6253;&#x5F00;&#x65F6;&#xFF0C;&#x6218;&#x5229;&#x54C1;&#x8868;&#x4F1A;&#x88AB;&#x8BBE;&#x7F6E;&#x4E3A;&#x65E0;&#xFF0C;&#x5982;&#x679C;&#x8FD9;&#x65F6;&#x5019;&#x88AB;&#x91CD;&#x65B0;&#x8BBE;&#x7F6E;&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x8BDD;&#x5C31;&#x4F1A;&#x9A6C;&#x4E0A;&#x5237;&#x65B0;&#x7BB1;&#x5B50;&#x5185;&#x5BB9;&#x3002;&#x9AD8;&#x9891;&#x7684;&#x8BDD;&#x751A;&#x81F3;&#x4F1A;&#x9020;&#x6210;&#x4EE5;&#x4E0B;&#x60C5;&#x51B5;&#xFF1A;</p>
<p><img src="images/1.gif" alt=""></p>
<h2 id="&#x53C2;&#x89C1;">&#x53C2;&#x89C1;</h2>
<p>&#x672C;&#x7AE0;&#x4E0D;&#x662F;&#x4E00;&#x4E2A;&#x8BE6;&#x7EC6;&#x8BB2;&#x89E3;&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x7AE0;&#x8282;&#xFF0C;&#x56E0;&#x4E3A;&#x76EE;&#x524D;&#x5DF2;&#x7ECF;&#x6709;&#x5F88;&#x8BE6;&#x7EC6;&#x7684;&#x6559;&#x7A0B;&#x8986;&#x76D6;&#x4E86;&#x6218;&#x5229;&#x54C1;&#x8868;&#x7684;&#x5404;&#x79CD;&#x4F7F;&#x7528;&#x3002;</p>
<p>&#x8BF7;&#x53C2;&#x89C1;2b&#x7684;&#x6559;&#x7A0B;: <a href="http://www.mcbbs.net/thread-619468-1-1.html" target="_blank">http://www.mcbbs.net/thread-619468-1-1.html</a></p>
<script>
var a = document.querySelectorAll(".page-wrapper ul");
for (var i = 0; i < a.length; i++) if (a[i].parentNode.nodeName != "LI") a[i].className = "tree";
</script>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="resourcepack/sound.html" class="navigation navigation-prev " aria-label="Previous page: 7.1.3 声音">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="advancements/advancements.html" class="navigation navigation-next " aria-label="Next page: 7.3 Advancement">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"7.2 Loot table","level":"1.8.2","depth":2,"next":{"title":"7.3 Advancement","level":"1.8.3","depth":2,"path":"data-files/advancements/advancements.md","ref":"data-files/advancements/advancements.md","articles":[{"title":"Advancement例子","level":"1.8.3.1","depth":3,"path":"data-files/advancements/examples.md","ref":"data-files/advancements/examples.md","articles":[]}]},"previous":{"title":"7.1.3 声音","level":"1.8.1.3","depth":3,"path":"data-files/resourcepack/sound.md","ref":"data-files/resourcepack/sound.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters","lb2br","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters":{},"lb2br":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"命令进阶","language":"en","gitbook":"*","description":"一份Minecraft命令教程"},"file":{"path":"data-files/loot-table.md","mtime":"2017-07-29T14:22:56.753Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-11-08T10:37:55.949Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

